<% form_for([@entry, @comment]) do |f| %>
  <%= f.error_messages %>
  <p>
    <% if current_user %>
    Posting as:
    <%= text_field_tag :content_generator, current_user.username,
      :disabled => true %>
    <% else %>
      <%= f.label :content_generator, "Name: " %>
      <%= f.text_field :content_generator %>
    <% end %>
  </p>
  <p>
    <%= f.text_area :content %>
  </p>
  <p>
    <%= f.submit "Leave Comment" %>
  </p>
<% end %>
